package com.itlong.cloud.app.dao;

import com.itlong.cloud.POJO.PO.AppTempFaceShowPO;
import com.itlong.cloud.abstracts.IAbstractBaseDao;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.Map;

/**
 * <desc>
 *      演示版AppDao.
 * </desc>
 *
 * @createDate 2018/3/6
 */
@Mapper
@Repository
public interface IAppTempFaceShowDao extends IAbstractBaseDao<AppTempFaceShowPO> {

    /**
     * <desc>
     *      根据userId查询余额
     * <desc/>
     * @param  params   带查询的userId
     * @return 余额
     * @author Biao.R
     * @createDate 2018/3/6
     */
    AppTempFaceShowPO getBalanceByParams(Map<String, Object> params);

    /**
     * <desc>
     *     修改
     * </desc>
     *
     * @param params 数据参数
     * @return 执行行数
     * @author Biao.R
     * @createDate 2017/10/17
     */
    Integer update(Map<String, Object> params);
}
